#ifndef SQLIST_H_
#define SQLIST_H_

#define DATASIZE 1024

typedef int datatype;

typedef struct node_st{
    datatype data[DATASIZE];
    int last;
} sqlist;

sqlist *sqlist_create();
void sqlist_create1(sqlist **);

int sqlist_insert(sqlist *,int,datatype *);
int sqlist_delete(sqlist *,int);
int sqlist_find(sqlist *,datatype *);
int sqlist_is_empty(sqlist *);
int sqlist_set_empty(sqlist *);
int sqlist_getnum(sqlist *);
int sqlist_destory(sqlist *);
void sqlist_display(sqlist *);
int sqlist_union(sqlist *,sqlist *);

#endif